package router

import (
	"github.com/gin-gonic/gin"
	"keep/api/handler"
)

func LoadRouter(r *gin.Engine) {
	group := r.Group("/keep")
	{
		group.POST("/class/info", handler.ClassInfo)

		//group.Use(pkg.JWTAuth("2209a"))

		group.POST("/class/reservation", handler.ClassReservation)

		group.POST("/class/confirm", handler.ReservationConfirm)

		group.POST("/class/my/reservation", handler.MyReservation)

		group.POST("/class/Remind/user", handler.RemindUser)

		group.POST("/class/del/reservation", handler.DelReservation)
	}
}
